#!/bin/sh
while read line; do
awk -F '	' '
function datetounix(s) {
	split(s, a, "-");
	timestr =  sprintf("%s %s %s 00 00 00 -1\n", a[1], a[2], a[3])
	# printf "%s\n", timestr
	return mktime(timestr)
}

/^[0-9]/ { print datetounix($1) "	" $3 "	" $2 }' 
done | sort -r
